﻿using Batman.Jianbei.Forum.Core.ChatRoom;

namespace Batman.Jianbei.Forum.DTOS.Chatroom
{
    /// <summary>
    /// 聊天室文本消息
    /// </summary>
    public class RoomPicMsgDTO : RoomMsgBaseDTO
    {
        public RoomPicMsgDTO(string roomId, Mask mask, string picUrl) :
            base(roomId, mask, "图片消息", Core.Enums.Chatroom.RoomMsgType.PicMsg)
        {
            this.PicUrl = picUrl;
        }

        public string PicUrl { get; set; }

        public override string GetMethod()
        {
            return "RoomPic";
        }
    }
}
